#include "Grid.h"

using namespace cmn;

Grid::Grid() {}

Grid::Grid( const Grid& ) {}

Grid::~Grid() {}

void Grid::Update( float ) {}

void Grid::Draw() const {
	float height = 100.0f;
	float width = 1000.0f;
	for( float x = -width; x < width; x += 1.0f ) {
		core::Renderer::DrawLine(
			Vec3( x, -height, 0.5f ),
			Vec3( x, height, 0.5f ),
			core::Color( 1.0f, 1.0f, 1.0f, 0.1f ) );
	}
	for( float y = -height; y < height; y += 1.0f ) {
		core::Renderer::DrawLine(
			Vec3( -width, y, 0.5f ),
			Vec3( width, y, 0.5f ),
			core::Color( 1.0f, 1.0f, 1.0f, 0.1f ) );
	}
}

